package com.example.reagent_management.ui.main;

import androidx.databinding.ObservableBoolean;
import androidx.databinding.ObservableInt;
import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.kunminx.architecture.ui.callback.UnPeekLiveData;

public class MainFragmentViewModel extends ViewModel {

    public final UnPeekLiveData<Integer> currentPage = new UnPeekLiveData<Integer>();

    private UnPeekLiveData<Integer> page = new UnPeekLiveData<Integer>();

    public UnPeekLiveData<Integer> getPage() {
        return page;
    }

    public void setPage(int currentPage){
        page.setValue(currentPage);
    }
}
